vt-d: don't treat IOAPIC RTE of dest_SMI type specially.
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 12:52:17 +0000 (13:52 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 7 Sep 2009 12:52:17 +0000 (13:52 +0100)
commit8b4225a532d32d893f6a3cecbabedb0d551d879b
treeab4ce165833d4096a1bf005bbbabe19aae153719
parent71a311b28e9043c30dd5c817d04ff135042089b4
vt-d: don't treat IOAPIC RTE of dest_SMI type specially.

We also need to create IRTE for it since we enable EIM and clear CFI,
or else, the IOAPIC RTE's interrupt message would be blocked by IR unit.

In io_apic_read_remap_rte(), we now use
"apic_pin_2_ir_idx[apic][ioapic_pin]"
rather than "(remap_rte->index_15 << 15) | remap_rte->index_0_14" to
avoid the "interrupt remapping table out of bound error".

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
xen/drivers/passthrough/vtd/intremap.c